package org.xfy.pet.service;

import org.xfy.base.query.BaseQuery;
import org.xfy.base.service.IBaseService;
import org.xfy.base.util.AjaxResult;
import org.xfy.base.util.PageList;
import org.xfy.org.domain.LoginData;
import org.xfy.pet.domain.Pet;
import org.xfy.pet.query.PetQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xfy
 * @since 2023-11-09
 */
public interface IPetService extends IBaseService<Pet> {
    void add(Pet pet,LoginData loginData);

    PageList<Pet> queryPage(PetQuery query, LoginData loginData);

    AjaxResult onsale(Long[] ids);

    AjaxResult offsale(Long[] ids);
}
